home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000292_fdc@sesame.cc.columbia.edu_Mon Sep 22 13:26:54 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
65 lines
Article: 14535 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
Date: 22 Sep 2003 13:26:44 -0400
Organization: Columbia University
Lines: 48
Message-ID: <bknbck$ior$1@sesame.cc.columbia.edu>
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com> <QuFbb.13$V16.9@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064251604 5191 128.59.59.56 (22 Sep 2003 17:26:44 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 17:26:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14535
In article <QuFbb.13$V16.9@newssvr22.news.prodigy.com>,
Jun Zhang <nugulus@netscape.net> wrote:
: Seems the RECEIVE command is not needed in the DELIVER script, or at
: least the OUT keyword in front of RECEIVE doesn't make sense.
:
Again: your script has to do what you would do by hand and eye. If you
want to start Kermit on the far end, you have to tell the script to
send the characters "kermit" and a carriage return. Now, depending on
which Kermit program is on the remote computer, it will give a prompt,
such as "C-Kermit>". Then you would give it a command such as "receive".
HOWEVER, it so happens that by default, your Kermit client also sends
the string "kermit -r" (and a carriarge return) when you give it a send
command, so as to try to start Kermit on the far end itself, in case you
forgot to do that. That's why it seems to work by magic.
But of course, this is effective only if the remote computer has a Kermit
program that accepts "-r" as a command-line argument.
Remember, a script simply mimics what you do by hand and eye. If the
remote computer has different commands or prompts, you have to change the
script to match.
Almost all the questions you ask are answered in the documentation. As
stated on the C-Kermit web page:
http://www.columbia.edu/kermit/ckermit.html
There is a printed manual, supplemented by several web pages.
: The remote shell prompt still come up, it doesn't hinder anything from
: being done, but is this normal while I have "set dial connect off" in
: effect?
:
I don't know what you mean by the shell prompt still comes up. Are you
merely viewing the dialog as it takes place automatically? Or is the
shell prompt waiting for you to type something?
If you are viewing the dialog as it takes place automatically, and you don't
want to see it, tell the Kermit program that is executing the script to:
set input echo off
If the shell prompt waiting for you to type something, then you have somehow
entered CONNECT mode, but I can't explain how you did that without seeing
your script. However, I think all this should be clear in the documentation.
- Frank